﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MaxLeaf.Common;
using System.Data;
using MaxLeaf.DB;
using MySql.Data.MySqlClient;

namespace MaxLeaf.DAL.Web
{
        public class ICStockBillEntryDAL : MaxLeaf.DAL.BaseDALBuilder.IDALAction
        {
            Web.OeSalesOrderDAL.FromType mFromType = new OeSalesOrderDAL.FromType();
            public void Add(DBAccess dbCon, DBAccess dbWebCon, string strKeyValue)
            {
                mFromType = Web.OeSalesOrderDAL.FromType.ICStockBillEntry ;
                //new Web.OeSalesOrderDAL().Add(dbCon, dbWebCon, strKeyValue, mFromType);
            }
            public void Update(DBAccess dbCon, DBAccess dbWebCon, string strKeyValue)
            {
                mFromType = Web.OeSalesOrderDAL.FromType.ICStockBillEntry;
                //new Web.OeSalesOrderDAL().Update(dbCon, dbWebCon, strKeyValue, mFromType);
            }
            public void Delete(DBAccess dbCon, DBAccess dbWebCon, string strKeyValue)
            {
                mFromType = Web.OeSalesOrderDAL.FromType.ICStockBillEntry;
                new Web.OeSalesOrderDAL().Delete(dbCon, dbWebCon, strKeyValue, mFromType);
            }
        }
}
